package structural.adapter.custom.struts;

import structural.adapter.custom.Entity;

public class PersonAction implements StrutsAction {

    public Entity getEntity() {
        return entity;
    }

    public void setEntity(Entity entity) {
        this.entity = entity;
    }

    private Entity entity;

    public String to_add() {
        System.out.println("request id = " + entity.getId());
        return "add";
    }
}
